@import 'public';

// 补丁 base
@import '~@/assets/style/fixed/base.scss';
// 补丁 element
@import '~@/assets/style/fixed/element.scss';
// 补丁 markdown
@import '~@/assets/style/fixed/markdown.scss';
// 补丁 n-progress
@import '~@/assets/style/fixed/n-progress.scss';
// 补丁 vue-splitpane
@import '~@/assets/style/fixed/vue-splitpane.scss';
// 补丁 vue-grid-layout
@import '~@/assets/style/fixed/vue-grid-layout.scss';
// 补丁 tree-view
@import '~@/assets/style/fixed/tree-view.scss';

// 动画
@import '~@/assets/style/animate/vue-transition.scss';

// 在这里写公用的class
// 注意 这个文件里只写class
// mixin等内容请在 public.scss 里书写

// 文字相关
.#{$prefix}-text-center {
  text-align: center;
}

// 浮动相关
.#{$prefix}-fl {
  float: left;
}

.#{$prefix}-fr {
  float: right;
}

// 边距相关
$sizes: (0, 5, 10, 15, 20);

@for $index from 1 to 6 {
  .#{$prefix}-m-#{nth($sizes, $index)} {
    margin: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-mt-#{nth($sizes, $index)} {
    margin-top: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-mr-#{nth($sizes, $index)} {
    margin-right: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-mb-#{nth($sizes, $index)} {
    margin-bottom: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-ml-#{nth($sizes, $index)} {
    margin-left: #{nth($sizes, $index)}px !important;
  }

  .#{$prefix}-p-#{nth($sizes, $index)} {
    padding: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-pt-#{nth($sizes, $index)} {
    padding-top: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-pr-#{nth($sizes, $index)} {
    padding-right: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-pb-#{nth($sizes, $index)} {
    padding-bottom: #{nth($sizes, $index)}px !important;
  }
  .#{$prefix}-pl-#{nth($sizes, $index)} {
    padding-left: #{nth($sizes, $index)}px !important;
  }
}

// 快速使用

.#{$prefix}-m {
  margin: 20px !important;
}

.#{$prefix}-mt {
  margin-top: 20px !important;
}

.#{$prefix}-mr {
  margin-right: 20px !important;
}

.#{$prefix}-mb {
  margin-bottom: 20px !important;
}

.#{$prefix}-ml {
  margin-left: 20px !important;
}

.#{$prefix}-p {
  padding: 20px !important;
}

.#{$prefix}-pt {
  padding-top: 20px !important;
}

.#{$prefix}-pr {
  padding-right: 20px !important;
}

.#{$prefix}-pb {
  padding-bottom: 20px !important;
}

.#{$prefix}-pl {
  padding-left: 20px !important;
}


.dash {
  border-bottom: 1px dashed #cac3c3;
}

/* element UI*/
.el-select {
  width: 100%;
}


/*page*/
.pages {
  background: #f2f2f4;
}

.input-without-border input {
  border: none;
  background: inherit;
  cursor: default;
}

.contentbox {
  margin-top: 45px;
  height: auto;
  min-height: 500px;
}

.main-box {
  background: #fff;
  margin: 20px 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  border: 1px solid #e5e7ea;
}

.titlefirst {
  margin-right: 40px;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  text-align: left;
  overflow: hidden;
}

.el-collapse {
  border-radius: 4px;
  border-left: 1px solid #EBEEF5;
  border-top: 2px solid #EBEEF5;
  border-bottom: 2px solid #EBEEF5;
  border-right: 1px solid #EBEEF5;
}

.el-collapse-item__content {
  padding-bottom: 0 !important;
}

.el-collapse-item__header {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #E8ECEF !important;
  height: 40px !important;
  line-height: 40px !important;
}

.titlefirst > .title_bar {
  background: #3396F9;
  height: 13px;
  display: inline-block;
  width: 3px;
  margin-left: 12px;
  vertical-align: middle;
}

.titlefirst > .title_name {
  font-size: 16px;
  margin-left: 10px;
  color: #778CA2;
  text-align: left;
  display: inline-block;
  font-weight: 600;
}

.icon-tipsinfo {
  color: #f5ab00;
  margin: 0 3px 0 15px;
  font-weight: bold;
  font-size: 14px;
  vertical-align: middle;
  display: inline-block;
  float: left;
  margin-top: -1px;
}

.infotips {
  color: #333333;
  font-size: 13px;
  display: inline-block;
  font-weight: normal;
  vertical-align: middle;
  margin-left: 40px;
}

.whitebox {
  padding: 15px 15px 0 15px;
  min-height: 60px;
}

@media only screen and (min-width: 1440px) and (max-width: 2000px) {
  .base_main {
    padding: 30px 3%;
  }
  .commonproduct-list > li {
    width: 19%;
    margin: 0 0.5% 10px 0.5%;
  }
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
  overflow: hidden;
}

.el-dialog__header {
  background: #3396F9;
}

.el-dialog__title {
  color: white !important;
}

html {
  font-size: 10px;
}

body {
  color: white;
  outline: none;
}

img {
  border: none;
}

*:focus, a:focus {
  outline: none;
  -moz-outline: none;
}

.clearfix {
  clear: both;
  height: auto;
  overflow: hidden;
}

article, aside, dialog, footer, foot, header, head, section, footer, nav, figure, menu {
  display: block;
}

ul, li, ol {
  list-style: none;
}

.block {
  display: block;
}

.dis_none {
  display: none;
}

em, b {
  font-style: normal;
  font-weight: normal;
}

/*A-Link*/
a {
  color: #458ac9;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #458ac9;
}

/*FLOAT*/
.fl {
  float: left !important;
}

.fr {
  float: right !important;
}

/*MARGIN & PADDING*/
.mr5 {
  margin-right: 5px !important;
}

.mr10 {
  margin-right: 10px !important;
}

.mr20 {
  margin-right: 20px !important;
}

.ml5 {
  margin-left: 5px !important;
}

.ml10 {
  margin-left: 10px !important;
}

.ml20 {
  margin-left: 20px !important;
}

.ml50 {
  margin-left: 50px !important;
}

.mt0 {
  margin-top: 0px !important;
}

.mt5 {
  margin-top: 5px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt50 {
  margin-top: 50px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb22 {
  margin-bottom: 22px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pt20 {
  padding-top: 20px !important;
}

.pr10 {
  padding-right: 10px !important;
}

.pr20 {
  padding-right: 20px !important;
}

.pb10 {
  padding-bottom: 10px !important;
}

.pb20 {
  padding-bottom: 20px !important;
}

.pl10 {
  padding-left: 10px !important;
}

.pl20 {
  padding-left: 20px !important;
}

.pl30 {
  padding-left: 24px !important;
}

.padding10 {
  padding: 10px !important;
}

.padding20 {
  padding: 20px !important;
}

.padding15 {
  padding: 15px !important;
}

.margin5 {
  margin: 5px !important;
}

.margin10 {
  margin: 10px !important;
}

.margin15 {
  margin: 15px !important;
}

.margin20 {
  margin: 20px !important;
}

.margin30 {
  margin: 30px !important;
}

.m0-auto {
  margin: 0 auto;
}

.text-align-center {
  text-align: center;
}

.text-align-right {
  text-align: right;
}

/*FONT-SIZE*/
.font12 {
  font-size: 12px;
}

.font14 {
  font-size: 14px;
}

.font16 {
  font-size: 16px;
}

.font18 {
  font-size: 18px;
}

.font24 {
  font-size: 24px;
}

.font20 {
  font-size: 20px;
}

.font-gray {
  color: #a7afb7;
  font-weight: normal;
  margin-top: 5px;
}

.font-red {
  color: #f91c1c;
}

.font-hightlight {
  color: #f26620;
}

.font-blue {
  color: #458ac9;
}


.filter-option {
  height: 30px;
  line-height: 28px;
}

.form-control {
  width: 90% !important;
  font-size: 12px;
}

.row {
  margin: 15px;
}

.overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 8, 20, 0.7);
  opacity: 0.5;
  z-index: 9999;
}

/*USER*/
.userbox {
  float: left;
  padding: 0 10px;
}

.userbox img {
  vertical-align: middle;
  border: 2px solid #f9f9f9;
  border-radius: 100%;
  width: 28px;
  height: 28px;
  margin: 0 10px;
}

.yh {
  padding: 20px;
  line-height: 25px;
}

.icon-arrows {
  font-size: 10px;
  margin-left: 5px;
}

/*PAGE*/
.pagination {
  text-align: right;
  color: #676f7a;
  display: block;
  margin: 15px 0;
}

.pagetotal {
  float: left;
  line-height: 32px;
}

.pagination > a {
  height: 30px;
  line-height: 28px;
  border: 1px solid #e6e8ef;
  display: inline-block;
  padding: 0 10px;
  margin-left: -5px;
  color: #676f7a;
  background: #fff;
}

.pagination a:hover {
  text-decoration: none;
  background: #f9f9f9;
}

.pagination .current, .pagination a.current:hover {
  background: #458ac9;
  color: #fff;
  border: 1px solid #458ac9;
}

.pagefrp {
  height: 33px;
  line-height: 33px;
  display: inline-block;
}

.pagination input {
  width: 40px;
  height: 30px;
  border: 1px solid #ccc;
}

/*headfix*/
.fixtabbox {
  height: 45px;
  line-height: 45px;
  background: #f4f5f9;
  border-bottom: 1px solid #d5d5d5;
  position: fixed;
  left: 55px;
  top: 50px;
  right: 0;
  padding: 0px 25px;
  width: calc(100% - 55px);
  z-index: 1001;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.08);
}

.crumbsbox, .totalPrice, .moreinfo {
  display: inline-block;
  float: left;
  margin-right: 10px;
}

.crumbs {
  border: 1px solid #d3d9dd;
  border-radius: 11px;
  width: 22px;
  height: 22px;
  display: inline-block;
  text-align: center;
  line-height: 19px;
  color: #667788;
  text-decoration: none;
}

.crumbs:hover {
  color: #458ac9;
  text-decoration: none;
}

.position {
  font-size: 13px;
  margin: 0 10px 0 5px;
}

/*defaultinfo*/
.defaultinfo {
  text-align: center;
  margin: 50px;
}

.defaultinfo p {
  margin-top: 10px;
}

.alerttips {
  position: absolute;
  z-index: 1040;
  top: 60px;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .fixtabbox {
    left: 0;
    width: 100%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .fixtabbox {
    left: 0;
    width: 100%;
  }
}

.el-cascader-node__label {
  flex: auto;
}

.bgc-white {
  background-color: #FFFFFF;
}

.el-button:active {
  outline: none;
}

.title-form {


  .el-input__inner {
    transform: translate(0, 1px);
    height: 28px !important;
    border-radius: 30px !important;
  }
}


.add-insurance {
  background: #f0f9eb;
}

.delete-insurance {
  background-color: #333333 !important;
  text-decoration: line-through;
  color: #d0d0d0;
}

.insure_page {
  .d2-theme-container-main-body {
    overflow-y: auto;
  }

  width: calc(100% - 60px);
  display: inline-block;

  .no_show_label {
    text-align: left;
  }


  .original_state {
    .el-input__inner {
      border-radius: 4px;
      border-left: 1px solid #dcdfe6;
    }

    .el-input__inner:focus {
      border-color: #409eff;
      outline: 0;
    }
  }
}

.el-input.is-disabled .el-input__inner {
  color: #35373b;
  cursor: default;
}

.el-checkbox__input.is-disabled .el-checkbox__inner {
  color: #35373b;
  cursor: default;
}

.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
  border-color: #35373b;
  cursor: default;
}

.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
  background-color: #35373b;
  cursor: default;
}

.history_quote {
  .el-drawer {
    overflow: auto;
  }

  .el-drawer__header {
    background: #3396f9;
    padding: 10px 20px;
    margin-bottom: 20px;
  }

  .el-icon-close {
    color: white;
  }

  .el-card__body {
    padding: 10px 0;
  }

  .quote_item {
    height: 25px;
    line-height: 25px;

    .item_title {
      font-size: 12px;
      display: inline-block;
      width: 50%;
      text-align: right;
    }

    .item_value {
      font-size: 14px;
      padding-left: 10px;
      color: #0886df;
    }
  }
}

.well-sm {
  height: 8px;
  min-height: 8px;
  width: 300px;
  margin-top: 17px;
  border: 1px solid #00000078;
  border-radius: 4px;
  background-color: #e7dddd;
  -webkit-box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.6), 1px 2px 0px #fff;
  box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.47), 1px 2px 0px #fff;
  padding: 2px 8px;
  float: left;
  margin-right: 20px;

  .mask {
    transition: height 500ms;
    overflow: hidden;
    height: 280px;
    width: 100%;
    position: relative;
    cursor: pointer;

    .price-slip {
      width: 100%;
      padding: 9px 8px 8px;
      -webkit-transition: all 500ms;
      transition: all 500ms;
      background-color: #fefefe;
      border: solid 1px #6a6a6a54;
      -webkit-box-shadow: 2px 2px 3px 1px rgba(0, 0, 0, 0.4);
      box-shadow: 2px 2px 3px 1px rgba(192, 185, 185, 0.4);
      border-bottom: dotted 3px #6a6a6a75;
      -webkit-transform: translateY(-108px);
      transform: translateY(-108px);
      position: absolute;
      top: 94px;
    }
  }
}

.button_absoluted {
  position: relative;

  .num {
    display: block;
    position: absolute;
    min-width: 15px;
    height: 15px;
    border-radius: 100%;
    text-align: center;
    line-height: 15px;
    color: #fff;
    font-size: 12px;
    top: -4px;
    right: 0;
    background: red;
  }
}

.table {
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
  width: 100%;
}

.table_header {
  width: 100%;
  display: flex;
  height: 40px;
  padding: 0 20px 0px 20px;
  background: #f5f7fa;
  box-sizing: border-box;

  span {
    display: inline-block;

    width: 33.3%;
    height: 40px;

    line-height: 40px;
  }
}

.table_body {
  width: 100%;

  .text_flex {
    display: flex;

    span {
      display: inline-block;
      width: 33.3%;
    }
  }
}

.hide_in_phone {
  display: block;
}

.show_in_phone {
  display: none;
}

@media only screen and (max-width: 768px) {
  .base_main {
    padding-top: 45px !important;
  }
  .insure_page {
    width: 100% !important;
  }
  .well-sm {
    position: absolute;
    top: 29px;
    left: 0;
    width: 100%;
  }
  .title-sub {
    padding-top: 10px;
    padding-left: 10px;
  }
  .hide_in_phone {
    display: none;
  }
  .show_in_phone {
    display: block;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
}

@media only screen and (min-width: 1200px) and (max-width: 1919px) {
}

.el-dialog__headerbtn .el-dialog__close {
  color: #ffffff !important;
  font-size: 14px;

}

.el-dialog__body {
  padding: 20px !important;
}

.el-dialog {
  .el-dialog__header {
    color: #ffffff;
    font-size: 14px;
  }

  .el-dialog__body {
    padding: 10px 20px;
    max-height: 700px;
    overflow: hidden;
    overflow-y: auto;

    .dialogOfferDetails {
      .whitebox {
        .el-row {
          .el-col {
            margin-bottom: 10px;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .text {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              width: 76px;
              font-weight: 600;
            }

            .num {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              width: 65%;
              font-weight: 600;
              // padding-left: 5%;
            }

            .text1 {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              width: 76px;
            }

            .num2 {
              display: flex;
              justify-content: flex-start;
              align-items: center;
              width: 65%;
            }
          }
        }
      }
    }

    .dialogOfferDetailselTable {
      .el-table--small td,
      .el-table--small th {
        padding: 0;
      }
    }
  }

  .no_show_label {
  }

  .add-coverage {
    background: #9eceff !important;

    &:hover > td {
      background: #9eceff !important;
    }
  }

  .delete-coverage {
    text-decoration: line-through;
    background: #757575 !important;
    color: #d0d0d0;

    &:hover > td {
      background: #757575 !important;
    }
  }
}

.titlefirst_right {
  display: flex;
  float: right;
  // width: 20px;
  margin-right: 15px;
  height: 100%;
  align-items: center;
  cursor: pointer;

  i {
    font-size: 16px;
  }
}

#underwritingOverview {
  .whitebox {
    padding-bottom: 15px;
  }
}

.base_main {
  padding: 15px;
  margin-bottom: 20px;
}

.title-main {
  padding-left: 10px;
  height: 20px;
  line-height: 20px;

  .title_text {
    font-size: 18px;
    color: #333333;
    letter-spacing: 0.32px;
    line-height: 18px;
  }
}

.title-sub {
  height: 20px;
  line-height: 20px;

  .sub_title_name {
    font-size: 13px;
    padding: 0 5px;
    color: #333333;
  }

  .sub_title_num {
    font-size: 13px;
    color: #778ca2;
    text-align: left;
  }
}

.nav_bar {
  position: fixed;
  width: 50px;
  height: 100%;
  display: inline-block;
  top: 50%;
  margin-top: -200px;

  .nav_item {
    width: 50px;
    height: 50px;
    background: #ffffff;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
    text-align: center;
    margin: 0 10px 10px 0;
    cursor: pointer;
    position: relative;
    border-radius: 3px;

    .nav_icon {
      height: 30px;
      line-height: 30px;

      .nav_svg {
        font-size: 20px;
        color: #778ca2;
      }
    }

    .nav_text {
      font-size: 12px;
      color: #778ca2;
    }
  }
}

.nav_active {
  .nav_text {
    color: #3396f9 !important;
  }

  .nav_svg {
    color: #3396f9 !important;
  }
}

.invalid_status {
  & > i {
    color: #f64e4e;
  }
}

.valid_status {
  & > i {
    color: #85c64b;
  }
}

.price_label_sm {
  display: inline-block;
  width: 20%;
  text-align: right;
}

.price_value_sm {
  display: inline-block;
  width: 80%;
  text-align: left;
}

.price_label {
  display: inline-block;
  width: 40%;
  text-align: right;
  padding-right: 10px;
}

.price_value {
  display: inline-block;
  width: 60%;
  text-align: left;
}

@media only screen and (max-width: 768px) {
  .nav_bar {
    position: fixed;
    z-index: 99;
    width: 100%;
    display: inline-block;
    bottom: 0;
    left: 0;
    top: auto;
    height: auto;
    margin-top: 0;
    background: #f6f9fa;
    overflow-x: auto;
    padding-top: 5px;
    text-align: center;

    .nav_item {
      width: 46px;
      height: 46px;
      cursor: pointer;
      position: relative;
      border-radius: 3px;
      display: inline-block;
      margin: 0 5px 0 0;
    }
  }
  .mobile-fab {
    position: fixed;
    z-index: 99;
    bottom: 20px;
    right: 10px;
    opacity: 0.8;
    text-align: center;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);

    .el-icon-arrow-up {
      font-size: 24px;
    }
  }
  .fab-menu__none {
    display: none;
  }
  .mobile-nav__bar {
    position: fixed;
    z-index: 99;
    display: flex;
    flex-direction: column;
    width: 50px;
    left: auto;
    right: 0;
    bottom: 60px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.3);

    .nav_item {
      border-radius: 0;
    }
  }
}

.mobile-form__view-state {
  .whitebox {
    padding: 15px;
  }


  .is-track {
    margin-bottom: 18px !important;
  }

  .content-td {
    .is-track {
      margin-bottom: 0 !important;
    }

    .el-input__inner {
      width: 50% !important;
    }
  }
}

.content-td {
  div {
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
}


.client_type .el-radio-button__inner {
  width: 100px;
}

.theme-d2 .d2-theme-container .d2-theme-container-aside .el-submenu.is-active .el-submenu__title i {
  color: #3396F9 !important;
}

.donot-show-border input {
  border: none;
  background: none !important;
}

.informationDetails {
  line-height: 30px;
  height: 32px;
  border: 1px solid #bcd8f8;
  border-left: none;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  padding-left: 15px;
  background-color: #f5f7fa;
  color: #409eff;
  cursor: pointer;
  // cursor: not-allowed;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whiteboxDiv {
  opacity: 0;
  transition: opacity 2s;
  -moz-transition: opacity 2s; /* Firefox 4 */
  -webkit-transition: opacity 2s; /* Safari 和 Chrome */
  -o-transition: opacity 2s; /* Opera */
}

.transitionHeight {
  opacity: 1;
  transition: opacity 2s;
  -moz-transition: opacity 2s; /* Firefox 4 */
  -webkit-transition: opacity 2s; /* Safari 和 Chrome */
  -o-transition: opacity 2s; /* Opera */
}

.screening {
  width: 100%;
  padding-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  .el-form {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
  }

  .el-button {
    width: 100px;
  }
}


.list-page {
  .el-table th{
    color: white;
    background: rgb(64, 158, 255) !important;
  }
}

.insure_page{
  .el-table th{
    color: black
  }
  .el-table{
    -webkit-box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  }
}

.el-table td {
   font-size: 14px;
 }

.el-table th {
   font-size: 14px;
 }

